From: awilliam@xenbuild.aw Date: Tue, 9 May 2006 17:40:00 +0000 (-0600) Subject: [IA64] linux: remove alloc_empty_foreign_map_page() X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~16102 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=0333b071827888aae28e644b98f7dbd59626fe72;p=xen.git [IA64] linux: remove alloc_empty_foreign_map_page() alloc_empty_foreign_map_page() in xenia64_init.c isn't used with CONFIG_XEN_IA64_DOM0_VP enabled. Signed-off-by: Isaku Yamahata --- diff --git a/linux-2.6-xen-sparse/arch/ia64/xen/drivers/xenia64_init.c b/linux-2.6-xen-sparse/arch/ia64/xen/drivers/xenia64_init.c index 58403804fb..0ee6df14f8 100644 --- a/linux-2.6-xen-sparse/arch/ia64/xen/drivers/xenia64_init.c +++ b/linux-2.6-xen-sparse/arch/ia64/xen/drivers/xenia64_init.c @@ -35,6 +35,7 @@ int xen_init(void) return 0; } +#ifndef CONFIG_XEN_IA64_DOM0_VP /* We just need a range of legal va here, though finally identity * mapped one is instead used for gnttab mapping. */ @@ -47,6 +48,7 @@ unsigned long alloc_empty_foreign_map_page_range(unsigned long pages) return (unsigned long)vma->addr; } +#endif #if 0 /* These should be define'd but some drivers use them without